﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class TaiLa : Hero
    {
        public TaiLa()
        {
            //调用子类的构造方法之前，先调用父类的构造方法，为的是初始化父类的字段
            Console.WriteLine("我是子类泰拉的构造方法");
        }
        public TaiLa(string nickName, string heroName, string heroInfo, int attack, int defense, int speed)
            : base(nickName, heroName, heroInfo, attack, defense, speed)
        {

        }

        public void JuLangChongJi()
        {
            Console.WriteLine("巨浪冲击");
        }
        public void YuanSuTuJi()
        {
            Console.WriteLine("元素突击");
        }
        public void FuChouShaLu()
        {
            Console.WriteLine("复仇杀戮");
        }
    }
}
